﻿using Queer.Entity;
using Queer.Model.Param.OrganizationManage;
using Queer.Util.Model;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Queer.IService.OrganizationManage
{
    /// <summary>
    /// 创 建：
    /// 日 期：2021-04-07 16:44
    /// 描 述：机构管理服务接口
    /// </summary>

    public interface IOrganizationsService
    {
        #region 获取数据

        Task<List<OrganizationsEntity>> GetList(OrganizationsListParam param);

        Task<List<OrganizationsEntity>> GetPageList(OrganizationsListParam param, Pagination pagination);

        Task<OrganizationsEntity> GetEntity(long id);

        #endregion

        #region 提交数据

        Task SaveForm(OrganizationsEntity entity);

        Task DeleteForm(string ids);

        #endregion

        #region 私有方法

        #endregion
    }
}